<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="2">
    <thead>
        <tr>
            <th>#</th>
            <th>姓名</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td><input type="checkbox" class="cli"></td>
            <td>Egon</td>
            <td class="xx">
                <select name="">
                    <option value="1">上线</option>
                    <option value="2">下线</option>
                    <option value="3">停职</option>
                </select>
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" class="cli"></td>
            <td>Alex</td>
            <td class="xx">
                <select name="">
                    <option value="1">上线</option>
                    <option value="2">下线</option>
                    <option value="3">停职</option>
                </select>
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" class="cli"></td>
            <td>Yuan</td>
            <td class="xx">
                <select name="">
                    <option value="1">上线</option>
                    <option value="2">下线</option>
                    <option value="3">停职</option>
                </select>
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" class="cli"></td>
            <td>EvaJ</td>
            <td class="xx">
                <select name="">
                    <option value="1">上线</option>
                    <option value="2">下线</option>
                    <option value="3">停职</option>
                </select>
            </td>
        </tr>
        <tr>
            <td><input type="checkbox" class="cli"></td>
            <td>Gold</td>
            <td class="xx">
                <select name="">
                    <option value="1">上线</option>
                    <option value="2">下线</option>
                    <option value="3">停职</option>
                </select>
            </td>
        </tr>
    </tbody>
</table>
<script src="jquery.js"></script>
<script>
    var lst = $("[type='checkbox']");
    var lst1 = [];
    $(".cli").click(function(){
        lst1 = [];
        for (var i=0;i<lst.length;i++){
            if ($(lst[i]).prop('checked')){
                lst1.push(lst[i]);
            }
        }
        function unique(arr){
            return Array.from(new Set(arr))
        }
        lst1 = unique(lst1);
        console.log(lst1);
    })
    $(window).keydown(function(e){
        if (e.keyCode === 16){
                $(lst1).parent().siblings('.xx').find('select').change(function(){
                        var one_1 = $(this).val();
                        $(lst1).parent().siblings('.xx').find('select').val([one_1]);
                })
        }
    })
</script>
</body>
</html>